﻿using BlazorDemoCURD.Models;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;

namespace BlazorDemoCURD.DataBase
{
    public class MyDbContext:DbContext
    {
        //public static readonly string UserInfoDb = nameof(UserInfoDb).ToLower();
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<UserInfo> UserInfos { get; set; }

        public override void Dispose()
        {
            base.Dispose();
        }
        public override ValueTask DisposeAsync()
        {
            return base.DisposeAsync();
        }
    }
}
